package com.longcai.page.table;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 分页查询返回
 *
 * @author
 */
@Data
public class PageTableResponse implements Serializable {

    private static final long serialVersionUID = 620421858510718076L;

    private long recordsTotal;

    private long recordsFiltered;

    private List<?> data;

    public PageTableResponse(long recordsTotal, long recordsFiltered, List<?> data) {
        super();
        this.recordsTotal = recordsTotal;
        this.recordsFiltered = recordsFiltered;
        this.data = data;
    }
}